package com.yykj.hospital.server.service;

import com.yykj.common.vo.PageData;
import com.yykj.hospital.client.dto.HospitalAdminDTO;
import com.yykj.hospital.client.form.HospitalAdminListForm;
import com.yykj.hospital.client.dto.HospitalAdminListDTO;
import com.yykj.hospital.server.dto.AdminPasswordDTO;
import com.yykj.hospital.server.dto.HospitalAdminMenuDTO;
import com.yykj.hospital.server.dto.HospitalLoginInfo;
import com.yykj.hospital.client.form.HospitalAdminEditForm;
import com.yykj.hospital.server.form.HospitalAdminLoginForm;

import java.util.List;

public interface HospitalAdminService {
    HospitalLoginInfo login(HospitalAdminLoginForm form);

    HospitalLoginInfo loginInfo(String token);

    void logout();

    HospitalAdminDTO editAdmin(HospitalAdminEditForm form);

    void deleteAdmin(Integer adminId);

    List<HospitalAdminListDTO> listHospitalAdmin(HospitalAdminListForm form);

    PageData<HospitalAdminListDTO> adminList(HospitalAdminListForm form);


    List<HospitalAdminMenuDTO> getHospitalAdminMenu(Integer adminId);

    void changeAdminPassword(AdminPasswordDTO adminPasswordDTO);
}
